#!/bin/bash

# 聊天
curl -X POST http://localhost:18012/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fara",
    "messages": [
      {
        "role": "user",
        "content": "Tell me a short story."
      }
    ],
    "max_tokens": 200,
    "stream": true
  }'